.class Lcom/waiqin365/lightapp/kaoqin/ai;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/ec;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

.field final synthetic b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 11

    const v10, 0x7f0803b1

    const/4 v9, 0x2

    const/4 v6, 0x1

    const/4 v7, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v4

    const-string/jumbo v0, "year"

    invoke-interface {v4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "month"

    invoke-interface {v4, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v2, "day"

    invoke-interface {v4, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v3, "hour"

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v5, "minute"

    invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v5, "-"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    :try_start_0
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyy-MM-dd HH:mm"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    move-object v5, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v8

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x1

    if-le v0, v2, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->q()I

    move-result v0

    if-ne v0, v9, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v1, v8, 0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move v1, v6

    move v7, v6

    :goto_1
    if-eqz v1, :cond_1

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v6

    const-string/jumbo v0, "year"

    invoke-interface {v6, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "month"

    invoke-interface {v6, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v2, "day"

    invoke-interface {v6, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v3, "hour"

    invoke-interface {v6, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v4, "minute"

    invoke-interface {v6, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v9, "-"

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    :try_start_1
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyy-MM-dd HH:mm"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
    :try_end_1
    .catch Ljava/text/ParseException; {:try_start_1 .. :try_end_1} :catch_1

    move-result-object v0

    move-object v1, v0

    :goto_2
    if-eqz v7, :cond_3

    invoke-virtual {v5, v1}, Ljava/util/Date;->after(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->v(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->w(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x2

    if-le v0, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    invoke-virtual {v0, v1, v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->b(Ljava/util/Date;Ljava/util/Date;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x2

    if-le v0, v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-virtual {v0, v1, v1}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTimeLength(Ljava/util/Date;Ljava/util/Date;)V

    :cond_1
    :goto_3
    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/text/ParseException;->printStackTrace()V

    move-object v5, v0

    goto/16 :goto_0

    :cond_2
    if-lez v8, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, -0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, -0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, -0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->q()I

    move-result v0

    if-ne v0, v9, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v1, v8, -0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move v1, v6

    goto/16 :goto_1

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto/16 :goto_2

    :cond_3
    if-nez v7, :cond_5

    invoke-virtual {v1, v5}, Ljava/util/Date;->after(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->x(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->y(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->a:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x1

    if-le v0, v2, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    invoke-virtual {v0, v1, v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->b(Ljava/util/Date;Ljava/util/Date;)V

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x1

    if-le v0, v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-virtual {v0, v1, v1}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTimeLength(Ljava/util/Date;Ljava/util/Date;)V

    goto/16 :goto_3

    :cond_5
    if-eqz v7, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x2

    if-le v0, v2, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    invoke-virtual {v0, v5, v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->b(Ljava/util/Date;Ljava/util/Date;)V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x2

    if-le v0, v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-virtual {v0, v5, v1}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTimeLength(Ljava/util/Date;Ljava/util/Date;)V

    goto/16 :goto_3

    :cond_7
    if-nez v7, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x1

    if-le v0, v2, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    invoke-virtual {v0, v1, v5}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->b(Ljava/util/Date;Ljava/util/Date;)V

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v2, v8, 0x1

    if-le v0, v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/ai;->b:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 v2, v8, 0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-virtual {v0, v1, v5}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTimeLength(Ljava/util/Date;Ljava/util/Date;)V

    goto/16 :goto_3

    :cond_9
    move-object v0, v1

    move v1, v7

    goto/16 :goto_1
.end method
